package com.onepower.core.modules.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.onepower.core.domain.request.MatchRefereeForm;
import com.onepower.core.domain.response.RefereeInfo;
import com.onepower.core.modules.repository.entity.MatchReferee;

import java.util.List;

/**
 * <p>
 * 比赛-场地-裁判关联表 服务类
 * </p>
 *
 * @author kin
 * @since 2018-08-06
 */
public interface IMatchRefereeService extends IService<MatchReferee> {

    List<RefereeInfo> getRefereeList(Integer matchId,Integer refereeId);

    MatchReferee getReferee(Integer refereeId);

   void updateRefereeLoginType(Integer id,boolean isLogin);
   
   void updateCheckTime(Integer id);

   void restSingleLoginState(Integer id);

   void save(MatchRefereeForm matchRefereeForm);

   void delete(Integer[] ids);

   Integer selectRefereeCount(Integer matchId);
}
